// vite.config.js
import { defineConfig } from "file:///D:/test/ofs-web/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/test/ofs-web/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import ViteAutoImport from "file:///D:/test/ofs-web/node_modules/unplugin-auto-import/dist/vite.js";
import { visualizer } from "file:///D:/test/ofs-web/node_modules/rollup-plugin-visualizer/dist/plugin/index.js";
import Components from "file:///D:/test/ofs-web/node_modules/unplugin-vue-components/dist/vite.js";
import { AntDesignVueResolver } from "file:///D:/test/ofs-web/node_modules/unplugin-vue-components/dist/resolvers.js";
import AutoImport from "file:///D:/test/ofs-web/node_modules/unplugin-auto-import/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/test/ofs-web/node_modules/unplugin-vue-components/dist/resolvers.js";
import { NaiveUiResolver } from "file:///D:/test/ofs-web/node_modules/unplugin-vue-components/dist/resolvers.js";
import ckeditor5 from "file:///D:/test/ofs-web/node_modules/@ckeditor/vite-plugin-ckeditor5/dist/index.mjs";
import { createRequire } from "node:module";
import { webUpdateNotice } from "file:///D:/test/ofs-web/node_modules/@plugin-web-update-notification/vite/dist/index.js";
var __vite_injected_original_dirname = "D:\\test\\ofs-web";
var __vite_injected_original_import_meta_url = "file:///D:/test/ofs-web/vite.config.js";
var require2 = createRequire(__vite_injected_original_import_meta_url);
function resolve(url) {
  return path.resolve(__vite_injected_original_dirname, url);
}
var vite_config_default = defineConfig({
  //配置@别名
  resolve: {
    alias: {
      "@": resolve("./src"),
      "@netWork": resolve("./src/network"),
      "@utils": resolve("./src/utils")
    }
  },
  plugins: [
    ViteAutoImport({
      imports: ["vue", "vue-router", "pinia"]
    }),
    visualizer(),
    vue(),
    { theme: ckeditor5("@ckeditor/ckeditor5-theme-lark") },
    AutoImport({
      resolvers: [ElementPlusResolver(), AntDesignVueResolver(), NaiveUiResolver()]
    }),
    Components({
      resolvers: [
        AntDesignVueResolver({
          importStyle: false,
          // css in js
          resolveIcons: true
          // resolve icon components
        }),
        ElementPlusResolver(),
        NaiveUiResolver()
      ]
    }),
    webUpdateNotice({
      logVersion: true,
      notificationConfig: {
        placement: "topRight"
      },
      checkInterval: 1e3 * 60,
      notificationProps: {
        title: "\u7CFB\u7EDF\u66F4\u65B0",
        description: "\u7CFB\u7EDF\u5DF2\u66F4\u65B0\uFF0C\u8BF7\u5237\u65B0\u9875\u9762",
        buttonText: "\u5237\u65B0",
        dismissButtonText: "\u5FFD\u7565"
      }
    })
  ],
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          // 在这里添加自定义的Less配置
        }
      }
    }
  },
  build: {
    chunkSizeWarningLimit: 1500
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx0ZXN0XFxcXG9mcy13ZWJcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXHRlc3RcXFxcb2ZzLXdlYlxcXFx2aXRlLmNvbmZpZy5qc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRDovdGVzdC9vZnMtd2ViL3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcclxuaW1wb3J0IHZ1ZSBmcm9tICdAdml0ZWpzL3BsdWdpbi12dWUnXHJcbmltcG9ydCBwYXRoIGZyb20gJ3BhdGgnXHJcbmltcG9ydCBWaXRlQXV0b0ltcG9ydCBmcm9tIFwidW5wbHVnaW4tYXV0by1pbXBvcnQvdml0ZVwiO1xyXG5pbXBvcnQge3Zpc3VhbGl6ZXJ9IGZyb20gJ3JvbG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